Total Complexity | 26 |
Dependencies | 5 |
Dependents | 0 |
Total lines | 241 |
Lines of code | 116 |
Logical lines of code | 68 |
Comment lines | 79 |
Methods | 10 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
handle_customer_creation() | 47 | 8 | 33 | |
add_brevo_consent_checkbox_field_for_checkout() | 54 | 4 | 20 | |
save_settings() | 56 | 3 | 17 | |
render_container_for_brevo() | 63 | 3 | 10 | |
change_template_for_brevo() | 63 | 3 | 10 | |
init_hooks() | 61 | 1 | 11 | |
init() | 82 | 1 | 3 | |
add_brevo_consent_checkbox() | 77 | 1 | 4 | |
append_setting_in_response() | 75 | 1 | 4 | |
register_rest_namespaces() | 76 | 1 | 4 |